package com.xcity.game.buff;

import com.xcity.db.entity.Player;

public interface BuffEffector {
	
	/** 世界事件 */
	int BUFF_WORLD_EVENT = 1;
	
	/** 减少建造cd */
	int BUFF_REDUCE_BUILD_CD = 101;
	/** 保护资产 */
	int BUFF_PROTECT_ASSETS = 102;
	/** 自动完成日常任务 */
	int BUFF_AUTO_COMPLETE_DAILY_TASK = 103;
	/** 立即完成建造 */
	int BUFF_FINISH_BUILD_AT_ONCE = 104;
	/** 看门狗 */
	int BUFF_WATCH_DOG = 105;
	
	/**
	 * buff生效
	 * @param buff
	 * @param player
	 */
	boolean effect(Buff buff, Player player);
	
	/**
	 * buff失效
	 * @param buff
	 * @param player
	 */
	boolean uneffect(Buff buff, Player player);
}
